#!/bin/sh -x
rm -rf testBluetoothDoc
cordova create testBluetoothDoc com.catchzeng.testBluetooth testBluetooth
cd testBluetoothDoc
cordova platform add ios
cordova plugin add ../
cp -R  ../tests/www/index.js www/js/index.js
cp -R  ../tests/www/index.html www/index.html
cordova build ios
cd ..
pwd
chmod -R 777 testBluetoothDoc
